<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="utf-8" />
	
	<!-- Set the viewport width to device width for mobile -->
	<meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
	
	<!-- Main CSS -->
	<link rel="stylesheet" media="all" href="../css/style.css" type="text/css">
	
	<!--<script src="js/jquery.js" type="text/javascript"></script>-->
	<script src="../js/jquery-2.1.0.min.js" type="text/javascript"></script>
	
	<script src="../js/header.js" type="text/javascript"></script>	
	
	<script> 
		if (localStorage.getItem("estudia_user") == null) {
			$('#option_greeting' ).hide();
			$('#option_loguot' ).hide();
			$('#option_profile' ).hide();
			$('#option_login' ).show();
			$('#option_register' ).show();
		} else {
			$('#option_greeting' ).append("<a>Welcome, " + localStorage.getItem("estudia_user") + "</a>");
			$('#option_greeting' ).show();
			$('#option_loguot' ).show();
			$('#option_profile' ).show();
			$('#option_login' ).hide();		
			$('#option_register' ).hide();		
		}
	</script>
	
</head>

<body>
	<div class="logo"><a href="../index.html"><img src="../assets/logo.png" width="60px" height="60px"/></a></div>
	<div class="options">
		<ul>
			<li>Menu</li>
		</ul>
	</div>
	<div class="clear"></div>
	<nav class="vertical menu">
		<ul>
			<li id="option_greeting"> </li>
			<li id="option_profile"><a href="home.html">Profile</a></li>
			<li id="option_loguot"><a href="logout.html">Sign Out</a></li>
			<li id="option_login"><a href="login.html">Login</a></li>
			<li id="option_register"><a href="register.html">Register</a></li>
		</ul>
	</nav>
</body>
</html>